﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Maticsoft.Web
{
    public partial class footer : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            BLL.EmailList emBLL = new BLL.EmailList();
            Model.EmailList emModel = new Model.EmailList();
            emModel.Email = email.Value;
            emModel.CreateTime = DateTime.Now;
            emBLL.Add(emModel);
            email.Value = "";
            Common.MessageBox.Show(this.Page, "提交成功");
        }
    }
}